DatabaseFieldDefinition Object

The DatabaseFieldDefinition Object represents a database field used in the report. This object provides properties for getting information on database fields in the report.

Database FieldDefinition Object Properties

Property Definition Read/ Write

Application

Returns a reference to the Application Object, that this object is associated with.

Read only

DatabaseField
Name

Specifies the name of the field in the database (that is, Product ID).

Read only

Kind

Returns CRFieldKind, which specifies what "kind" of field (that is, database, summary, formula, etc.).

Read only


Constant Value


crDatabaseField

1


crFormulaField

2


crGroupNameField

5


crParameterField

6


crSpecialVarField

4


crSummaryField

3

Property Definition Read/ Write

Name

Returns the name of the field within the report (table.FIELD) (for example, product.PRODUCT ID).

Read only

NumberOfBytes

Returns the number of bytes required to store the field data in memory.

Read only

Parent

Reference to the Parent object (Report Object).

Read only

Report

Reference to Report Object.

Read only

TableAliasName

Specifies the alias name used in the report to reference the database table. By default, this is the name of the database table.

Read only

ValueType

Returns CRFieldValueType (see table below) which specifies the "type" of value found in the field.

Read only


Constant Value


crBitmapField

17


crBlobField

15


crBooleanField

9


crChartField

21


crCurrencyField

8


crDateField

10


crDateTimeField

16


crIconField

18


crInt16sField

3


crInt16uField

4


crInt32sField

5


crInt32uField

6


crInt8sField

1


crInt8uField

2


crNumberField

7


crOleField

20


crPersistentMemoField

14


crPictureField

19


crStringField

12


crTimeField

11


crTransientMemoField

13


crUnknownField

22



Seagate Software IMG Holdings, Inc.
http://www.seagatesoftware.com
Support services:
http://support.seagatesoftware.com